home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / WIN_PRO / OWLCTL.ZIP;1 / UTY3DOWL.H < prev   
Encoding:
C/C++ Source or Header  |  1993-06-21  |  6.1 KB  |  247 lines

  1.  
  2. #include <owl.h>
  3. #include <edit.h>
  4. #include <static.h>
  5. #include <listbox.h>
  6. #include <combobox.h>
  7. #include <groupbox.h>
  8. #include <checkbox.h>
  9. #include <radiobut.h>
  10.  
  11. _CLASSDEF(TUty3DEdit)
  12. class _EXPORT TUty3DEdit : public TEdit
  13. {
  14. public:
  15.    TUty3DEdit(PTWindowsObject AParent, int AnId, LPSTR AText, int X,
  16.           int Y, int W, int H, WORD ATextLen, BOOL Multiline,
  17.           PTModule AModule = NULL);
  18.     TUty3DEdit(PTWindowsObject AParent, int AnId, WORD ATextLen,
  19.           PTModule AModule = NULL);
  20.    virtual LPSTR GetClassName();
  21. };
  22.  
  23.  
  24. inline
  25. TUty3DEdit::TUty3DEdit(PTWindowsObject AParent, int AnId, LPSTR AText, int X,
  26.           int Y, int W, int H, WORD ATextLen, BOOL Multiline,
  27.           PTModule AModule)
  28.    :TEdit(AParent, AnId, AText, X, Y, W, H, ATextLen, Multiline, AModule)
  29. {
  30. }
  31.  
  32. inline
  33. TUty3DEdit::TUty3DEdit(PTWindowsObject AParent, int AnId, WORD ATextLen,
  34.          PTModule AModule)
  35.    :TEdit(AParent, AnId, ATextLen, AModule)
  36. {
  37. }
  38.  
  39. inline
  40. LPSTR TUty3DEdit::GetClassName()
  41. {
  42.    return "Uty3D_Edit";
  43. }
  44.  
  45.  
  46. _CLASSDEF(TUty3DStatic)
  47. class _EXPORT TUty3DStatic : public TStatic
  48. {
  49. public:
  50.     TUty3DStatic(PTWindowsObject AParent, int AnId, LPSTR ATitle, int X,
  51.             int Y, int W, int H, WORD ATextLen, PTModule AModule = NULL);
  52.     TUty3DStatic(PTWindowsObject AParent, int AnId, WORD ATextLen,
  53.             PTModule AModule = NULL);
  54.     virtual LPSTR GetClassName();
  55. };
  56.  
  57. inline
  58. TUty3DStatic::TUty3DStatic(PTWindowsObject AParent, int AnId, LPSTR AText, int X,
  59.           int Y, int W, int H, WORD ATextLen, PTModule AModule)
  60.    :TStatic(AParent, AnId, AText, X, Y, W, H, ATextLen, AModule)
  61. {
  62. }
  63.  
  64. inline
  65. TUty3DStatic::TUty3DStatic(PTWindowsObject AParent, int AnId, WORD ATextLen,
  66.          PTModule AModule)
  67.    :TStatic(AParent, AnId, ATextLen, AModule)
  68. {
  69. }
  70.  
  71. inline
  72. LPSTR TUty3DStatic::GetClassName()
  73. {
  74.    return "Uty3D_Static";
  75. }
  76.  
  77.  
  78. _CLASSDEF(TUty3DListBox)
  79. class _EXPORT TUty3DListBox : public TListBox
  80. {
  81. public:
  82.     TUty3DListBox(PTWindowsObject AParent, int AnId, int X,
  83.             int Y, int W, int H, PTModule AModule = NULL);
  84.     TUty3DListBox(PTWindowsObject AParent, int AnId, PTModule AModule = NULL);
  85.     virtual LPSTR GetClassName();
  86. };
  87.  
  88. inline
  89. TUty3DListBox::TUty3DListBox(PTWindowsObject AParent, int AnId, int X,
  90.             int Y, int W, int H, PTModule AModule)
  91.    :TListBox(AParent, AnId, X, Y, W, H, AModule)
  92. {
  93. }
  94.  
  95. inline
  96. TUty3DListBox::TUty3DListBox(PTWindowsObject AParent, int AnId, PTModule AModule)
  97.    :TListBox(AParent, AnId, AModule)
  98. {
  99. }
  100.  
  101. inline
  102. LPSTR TUty3DListBox::GetClassName()
  103. {
  104.    return "Uty3D_ListBox";
  105. }
  106.  
  107.  
  108. _CLASSDEF(TUty3DComboBox)
  109. class _EXPORT TUty3DComboBox : public TComboBox
  110. {
  111. public:
  112.     TUty3DComboBox(PTWindowsObject AParent, int AnId, int X,
  113.             int Y, int W, int H, 
  114.             DWORD AStyle, WORD ATextLen, PTModule AModule = NULL);
  115.     TUty3DComboBox(PTWindowsObject AParent, int AnId, WORD ATextLen,
  116.              PTModule AModule = NULL);
  117.     virtual LPSTR GetClassName();
  118. };
  119.  
  120. inline
  121. TUty3DComboBox::TUty3DComboBox(PTWindowsObject AParent, int AnId, int X,
  122.             int Y, int W, int H, 
  123.             DWORD AStyle, WORD ATextLen, PTModule AModule)
  124.    :TComboBox(AParent, AnId, X, Y, W, H, AStyle, ATextLen, AModule)
  125. {
  126. }
  127.  
  128. inline
  129. TUty3DComboBox::TUty3DComboBox(PTWindowsObject AParent, int AnId, WORD ATextLen,
  130.          PTModule AModule)
  131.    :TComboBox(AParent, AnId, ATextLen, AModule)
  132. {
  133. }
  134.  
  135. inline
  136. LPSTR TUty3DComboBox::GetClassName()
  137. {
  138.    return "Uty3D_ComboBox";
  139. }
  140.  
  141.  
  142.  
  143.  
  144. _CLASSDEF(TUty3DGroupBox)
  145. class _EXPORT TUty3DGroupBox : public TGroupBox
  146. {
  147. public:
  148.     TUty3DGroupBox(PTWindowsObject AParent, int AnId, LPSTR AText, int X,
  149.             int Y, int W, int H, PTModule AModule = NULL);
  150.     TUty3DGroupBox(PTWindowsObject AParent, int AnId, PTModule AModule = NULL);
  151.     virtual LPSTR GetClassName();
  152. };
  153.  
  154. inline
  155. TUty3DGroupBox::TUty3DGroupBox(PTWindowsObject AParent, int AnId, 
  156.             LPSTR AText, int X,  int Y, int W, int H, 
  157.             PTModule AModule)
  158.    :TGroupBox(AParent, AnId, AText, X, Y, W, H, AModule)
  159. {
  160. }
  161.  
  162. inline
  163. TUty3DGroupBox::TUty3DGroupBox(PTWindowsObject AParent, int AnId, 
  164.             PTModule AModule)
  165.    :TGroupBox(AParent, AnId, AModule)
  166. {
  167. }
  168.  
  169. inline
  170. LPSTR TUty3DGroupBox::GetClassName()
  171. {
  172.    return "Uty3D_Button";
  173. }
  174.  
  175.  
  176. _CLASSDEF(TUty3DCheckBox)
  177. class _EXPORT TUty3DCheckBox : public TCheckBox
  178. {
  179. public:
  180.     TUty3DCheckBox(PTWindowsObject AParent, int AnId, LPSTR AText, int X,
  181.             int Y, int W, int H, PTGroupBox AGroup, 
  182.             PTModule AModule = NULL);
  183.     TUty3DCheckBox(PTWindowsObject AParent, int AnId, PTGroupBox AGroup,
  184.             PTModule AModule = NULL);
  185.     virtual LPSTR GetClassName();
  186. };
  187.  
  188. inline
  189. TUty3DCheckBox::TUty3DCheckBox(PTWindowsObject AParent, int AnId,
  190.             LPSTR AText, int X,  int Y, int W, int H, 
  191.             PTGroupBox AGroup, PTModule AModule)
  192.    :TCheckBox(AParent, AnId, AText, X, Y, W, H, AGroup, AModule)
  193. {
  194. }
  195.  
  196. inline
  197. TUty3DCheckBox::TUty3DCheckBox(PTWindowsObject AParent, int AnId,
  198.             PTGroupBox AGroup, PTModule AModule)
  199.    :TCheckBox(AParent, AnId, AGroup, AModule)
  200. {
  201. }
  202.  
  203. inline
  204. LPSTR TUty3DCheckBox::GetClassName()
  205. {
  206.    return "Uty3D_Button";
  207. }
  208.  
  209.  
  210. _CLASSDEF(TUty3DRadioButton)
  211. class _EXPORT TUty3DRadioButton : public TRadioButton
  212. {
  213. public:
  214.     TUty3DRadioButton(PTWindowsObject AParent, int AnId, LPSTR AText, int X,
  215.             int Y, int W, int H, PTGroupBox AGroup, 
  216.             PTModule AModule = NULL);
  217.     TUty3DRadioButton(PTWindowsObject AParent, int AnId, PTGroupBox AGroup,
  218.             PTModule AModule = NULL);
  219.     virtual LPSTR GetClassName();
  220. };
  221.  
  222. inline
  223. TUty3DRadioButton::TUty3DRadioButton(PTWindowsObject AParent, int AnId,
  224.             LPSTR AText, int X,  int Y, int W, int H, 
  225.             PTGroupBox AGroup, PTModule AModule)
  226.    :TRadioButton(AParent, AnId, AText, X, Y, W, H, AGroup, AModule)
  227. {
  228. }
  229.  
  230. inline
  231. TUty3DRadioButton::TUty3DRadioButton(PTWindowsObject AParent, int AnId,
  232.             PTGroupBox AGroup, PTModule AModule)
  233.    :TRadioButton(AParent, AnId, AGroup, AModule)
  234. {
  235. }
  236.  
  237. inline
  238. LPSTR TUty3DRadioButton::GetClassName()
  239. {
  240.    return "Uty3D_Button";
  241. }
  242.  
  243.  
  244.  
  245.  
  246.  
  247.